package cn.dsp.admin.vo;

import cn.dsp.admin.entity.admin.Role;
import lombok.Data;
import lombok.ToString;

import java.io.Serializable;
import java.util.HashSet;
import java.util.Set;

@Data
@ToString(callSuper = true)
public class AdminVO implements Serializable {

    private static final long serialVersionUID = 7813647937314174376L;

    private Integer adminId;
    private String  adminName;
    private Integer gender;
    private String  phone;
    private String  avatar;
    private Integer state;
    private Integer storeId;
    private Integer lotId;
    private String  lotName;
    private Set<Role> roles = new HashSet<>();

    public AdminVO() {
        this.gender = 1;
        this.phone = "";
        this.avatar = "";
        this.state = 0;
        this.lotId = 0;
        this.lotName = "没有数据";
        this.roles = null;
    }
}
